package com.atguigu.sugar.service;

import com.atguigu.sugar.bean.Province;
import com.atguigu.sugar.mapper.ProvinceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lizhenchao@atguigu.cn
 * @Date 2022/1/7 14:25
 */
@Service
public class ProvinceServiceImpl implements ProvinceService {
    
    @Autowired
    ProvinceMapper province;
    
    @Override
    public List<Province> statsByProvince(int date) {
        return province.statsByProvince(date);
    }
    
}

